import { createStore } from 'vuex'
import mutations from './mutations'
import actions from './actions'
import getters from './getters'

export default createStore({
  state: {
    // sidebarMenu: [], // 导航菜单
    // currentMenu: '', // 当前active导航菜单
    isSidebarNavCollapse: true // 导航菜单是否折叠
    // crumbList: [], // 面包屑导航列表
    // permissionList: null, // 所有路由
  },
  mutations,
  actions,
  getters
})
